package service;

import com.github.pagehelper.PageInfo;
import entity.LayRequest;
import entity.Role;
import entity.Users;

import java.util.List;

public interface RoleService {
    boolean insert(Role role);

    boolean update(Role role);

    boolean delete(Integer id);

    PageInfo<Role> selectByPage(LayRequest layRequest);

    Role selectById(Integer id);

    List<Role> selectAll();
}
